package com.cd.system.jpa.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description 日常用户数量统计
 * @Author lqq
 * @Date 2024/1/24 14:04
 **/
@Table(name = "sys_daily_user_count")
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DailyUserCount {

    @Id
    @Column(name = "date")
    private String date;

    @Column(name = "count")
    private Long count;

}
